﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Argos.Scheduling;

namespace Argos.Windows.Forms
{
	public partial class CustomScheduleEditor: UserControl
	{
		public CustomScheduleEditor()
		{
			InitializeComponent();
		}


		private CustomSchedule _SelectedSchedule;

		[Browsable(false)]
		[DefaultValue(null)]
		public CustomSchedule SelectedSchedule
		{
			get { return _SelectedSchedule; }
			set
			{
				if (null == value)
				{
					throw new ArgumentNullException("SelectedSchedule");
				}

				if (!object.Equals(this.SelectedSchedule, value))
				{
					_SelectedSchedule = value;
				}
			}
		}

	}
}
